<%--
  Created by IntelliJ IDEA.
  User: xdzy
  Date: 2017/4/10
  Time: 21:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<header class="am-topbar am-topbar-inverse admin-header">
    <div class="am-topbar-brand">
        <a href="./home.action"> <strong>在线聊天</strong><small>1.0-dev</small></a>
    </div>

    <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>

    <div class="am-collapse am-topbar-collapse" id="topbar-collapse">

        <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
            <li><img class="am-comment-avatar" width="50" height="50" src="./resources/images/${sessionScope.loginUser.headImg}" alt=""></li>
            <%--<li><a href="javascript:;"><c:out value="${sessionScope.user_index.nickName}"/>--%>
            <%--<span class="am-badge am-badge-warning">5</span></a>--%>
            <%--</li>--%>
            <li class="am-dropdown" data-am-dropdown>
                <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
                    ${sessionScope.loginUser.nickName}<span class="am-icon-caret-down"></span>
                </a>
                <ul class="am-dropdown-content">
                    <li><a href="./user/user_MyInfo.action"><span class="am-icon-user"></span>我的资料</a></li>
                    <li><a href=""><span class="am-icon-cog"></span> 管理分组</a></li>
                    <li><a href="./addFriend.action"><span class="am-icon-user"></span>添加好友</a></li>
                    <li><a href="./requestList.action" class="am-cf"><span class="am-icon-cog"></span> 验证消息 <span class="am-badge am-badge-danger am-round" id="confirmCount">6</span></a></li>
                    <li><a href="./user/user_logout.action">注销</a></li>
                </ul>
            </li>
            <li class="am-hide-sm-only"><a href="javascript:;" id="admin-fullscreen"><span class="am-icon-arrows-alt"></span> <span class="admin-fullText">开启全屏</span></a></li>
            <li><a href="" style="color: red" id="top_advice"></a></li>
        </ul>
    </div>
</header>


